How to stop real time view after dedicated time?

Hey @all,
is there a was to stop the real time view after a dedicated time, like 10 minutes. Or after a specific number of samples rendered? Is there a setting where I can set this.
Every now and then I forget my scene and the whole keyshot window because of a phone call, a break, whatever. And as you know, if I don’t hit “pause” it will continue to render and render and render. This time it went up to 266084 sample, which I definitely do not need.
I did not find a menu where I cound limit this down to 500 or 5K samples. Is there a menu?

If not, feel free to drag this post to the category: feature request

Thank you.
Best, Daniel

This setting is available in the preferences

You have options for both time or samples here:

image